import axios from '../request'
export const selectByPage = (page) => axios.get("/api/v2/pub/pa_batch/selectByPage", {
    params: {
        "page": page
    }
})

export const selectByName = (name, page) => axios.get("/api/v2/pub/pa_batch/selectByName", {
    params: {
        "page": page,
        "name": name
    }
})

export const deleteById = (id) => axios.get("/api/v2/pub/pa_batch/delete", {
    params: {
        "id": id

    }
})

export const update = (id, name) => axios.post("/api/v2/pub/pa_batch/update", {
    "id": id,
    "name": name
})

export const exportWord = (name, key) => axios.post("/api/v2/pub/pa_batch/exportWord", {
    "name": name,
    "key": key
}, {
    responseType: 'blob'
})
export const exportWord1 = (name, key) => axios.post("/api/v2/pub/pa_batch/exportWord1", {
    "name": name,
    "key": key
}, {
    responseType: 'blob'
})
export const exportWord2 = (name, key) => axios.post("/api/v2/pub/pa_batch/exportWord2", {
    "name": name,
    "key": key
}, {
    responseType: 'blob'
})
export const exportWord3 = (name, key) => axios.post("/api/v2/pub/pa_batch/exportWord3", {
    "name": name,
    "key": key
}, {
    responseType: 'blob'
})
export const exportWord4 = (name, key) => axios.post("/api/v2/pub/pa_batch/exportWord4", {
    "name": name,
    "key": key
}, {
    responseType: 'blob'
})

export const exportWord5 = (name, key) => axios.post("/api/v2/pub/pa_batch/exportWord5", {
    "name": name,
    "key": key
}, {
    responseType: 'blob'
})
export const exportWord6 = (name, key) => axios.post("/api/v2/pub/pa_batch/exportWord6", {
    "name": name,
    "key": key
}, {
    responseType: 'blob'
})
export const exportWord7 = (name, key) => axios.post("/api/v2/pub/pa_batch/exportWord7", {
    "name": name,
    "key": key
}, {
    responseType: 'blob'
})
export const exportWord8 = (name, key) => axios.post("/api/v2/pub/pa_batch/exportWord8", {
    "name": name,
    "key": key
}, {
    responseType: 'blob'
})
export const exportWord9 = (name, key) => axios.post("/api/v2/pub/pa_batch/exportWord9", {
    "name": name,
    "key": key
}, {
    responseType: 'blob'
})

export const exportWord10 = (name, key) => axios.post("/api/v2/pub/pa_batch/exportWord10", {
    "name": name,
    "key": key
}, {
    responseType: 'blob'
})
export const exportWord11 = (name, key) => axios.post("/api/v2/pub/pa_batch/exportWord11", {
    "name": name,
    "key": key
}, {
    responseType: 'blob'
})
export const exportWord12 = (name, key) => axios.post("/api/v2/pub/pa_batch/exportWord12", {
    "name": name,
    "key": key
}, {
    responseType: 'blob'
})
export const exportWord13 = (name, key) => axios.post("/api/v2/pub/pa_batch/exportWord13", {
    "name": name,
    "key": key
}, {
    responseType: 'blob'
})
export const exportWord14 = (name, key) => axios.post("/api/v2/pub/pa_batch/exportWord14", {
    "name": name,
    "key": key
}, {
    responseType: 'blob'
})





export const exportZip = (name, key) => axios.post("/api/v2/pub/pa_batch/exportZip", {
    "name": name,
    "key": key
}, {
    responseType: 'blob'
})
export const exportZip1 = (name, key) => axios.post("/api/v2/pub/pa_batch/exportZip1", {
    "name": name,
    "key": key
}, {
    responseType: 'blob'
})
export const exportZip2 = (name, key) => axios.post("/api/v2/pub/pa_batch/exportZip2", {
    "name": name,
    "key": key
}, {
    responseType: 'blob'
})
export const exportZip3 = (name, key) => axios.post("/api/v2/pub/pa_batch/exportZip3", {
    "name": name,
    "key": key
}, {
    responseType: 'blob'
})
export const exportZip4 = (name, key) => axios.post("/api/v2/pub/pa_batch/exportZip4", {
    "name": name,
    "key": key
}, {
    responseType: 'blob'
})

export const exportZip5 = (name, key) => axios.post("/api/v2/pub/pa_batch/exportZip5", {
    "name": name,
    "key": key
}, {
    responseType: 'blob'
})
export const exportZip6 = (name, key) => axios.post("/api/v2/pub/pa_batch/exportZip6", {
    "name": name,
    "key": key
}, {
    responseType: 'blob'
})
export const exportZip7 = (name, key) => axios.post("/api/v2/pub/pa_batch/exportZip7", {
    "name": name,
    "key": key
}, {
    responseType: 'blob'
})
export const exportZip8 = (name, key) => axios.post("/api/v2/pub/pa_batch/exportZip8", {
    "name": name,
    "key": key
}, {
    responseType: 'blob'
})
export const exportZip9 = (name, key) => axios.post("/api/v2/pub/pa_batch/exportZip9", {
    "name": name,
    "key": key
}, {
    responseType: 'blob'
})

export const exportZip10 = (name, key) => axios.post("/api/v2/pub/pa_batch/exportZip10", {
    "name": name,
    "key": key
}, {
    responseType: 'blob'
})
export const exportZip11 = (name, key) => axios.post("/api/v2/pub/pa_batch/exportZip11", {
    "name": name,
    "key": key
}, {
    responseType: 'blob'
})
export const exportZip12 = (name, key) => axios.post("/api/v2/pub/pa_batch/exportZip12", {
    "name": name,
    "key": key
}, {
    responseType: 'blob'
})
export const exportZip13 = (name, key) => axios.post("/api/v2/pub/pa_batch/exportZip13", {
    "name": name,
    "key": key
}, {
    responseType: 'blob'
})
export const exportZip14 = (name, key) => axios.post("/api/v2/pub/pa_batch/exportZip14", {
    "name": name,
    "key": key
}, {
    responseType: 'blob'
})


export const exportExcel = (name, key) => axios.post("/api/v2/pub/pa_batch/exportExcel", {
    "name": name,
    "key": key
}, {
    responseType: 'blob'

})